import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '最大稳定性指数',
    align: "center",
    dataIndex: 'maximumStabilityIndex'
  },
  {
    title: '历史最大降雨均值',
    align: "center",
    dataIndex: 'historicalMaximumRainfall'
  },
  {
    title: '大雨',
    align: "center",
    dataIndex: 'heavyRain'
  },
  {
    title: '暴雨',
    align: "center",
    dataIndex: 'rainstorm'
  },
  {
    title: '大暴雨',
    align: "center",
    dataIndex: 'heavyRainstorm'
  },
  {
    title: '特大暴雨',
    align: "center",
    dataIndex: 'extremelyHeavyRainstorm'
  },
];

// 高级查询数据
export const superQuerySchema = {
  maximumStabilityIndex: {title: '最大稳定性指数',order: 0,view: 'number', type: 'number',},
  historicalMaximumRainfall: {title: '历史最大降雨均值',order: 1,view: 'number', type: 'number',},
  heavyRain: {title: '大雨',order: 2,view: 'number', type: 'number',},
  rainstorm: {title: '暴雨',order: 3,view: 'number', type: 'number',},
  heavyRainstorm: {title: '大暴雨',order: 4,view: 'number', type: 'number',},
  extremelyHeavyRainstorm: {title: '特大暴雨',order: 5,view: 'number', type: 'number',},
};
